/**
 * Project Name:bfs_v1.0.1
 * File Name:ButtonMenuDao.java
 * Package Name:com.zeei.bfs.dao
 * Date:2016年12月21日下午2:47:19
 * Copyright (c) 2016, ZEEI All Rights Reserved. *
 *
 * ClassName:ButtonMenuDao 
 * Function: TODO ADD FUNCTION.  
 * @author   zws 
 * @since    JDK 1.8	 
 */

package com.zeei.bfs.dao;

import java.util.List;
import java.util.Map;

import com.zeei.common.vo.ButtonMenuVO;

public interface ButtonMenuDao {
	
	/**
	 * 方法描述:通过menuIds批量删除菜单与按钮的关联关系
	 *
	 * @param menuIds
	 * @return
	 */
	Integer deleteButtonMenuByMenuIds(List<Integer> menuIds);
	
	/**
	 * 方法描述:通过条件查询角色的菜单按钮
	 *
	 * @param condition
	 * @return 菜单对应的所有按钮和角色拥有的按钮 。(checked状态区分)
	 */
	List<ButtonMenuVO> queryRoleButtonMenuByCondition(Map<?, ?> condition);
	
}

